/*
 * @Descripttion:
 * @version:
 * @Author: YouHuJun
 * @Date: 2021-10-18 10:39:04
 * @LastEditors: youhujun 2900976495@qq.com
 * @LastEditTime: 2025-05-06 20:45:06
 */
import request from '@/utils/request'

export function getTreeGoodsClass()
{
  return request({
    url: `/group/goods-class/getTreeGoodsClass`,
    method: 'get'
  })
}

export function addGoodsClass(data)
{
  return request({
    url: `/group/goods-class/addGoodsClass`,
    method: 'post',
    data
  })
}

export function updateGoodsClass(data)
{
  return request({
    url: `/group/goods-class/updateGoodsClass`,
    method: 'post',
    data
  })
}

export function moveGoodsClass(data)
{
  return request({
    url: `/group/goods-class/moveGoodsClass`,
    method: 'post',
    data
  })
}

export function deleteGoodsClass(data)
{
  return request({
    url: `/group/goods-class/deleteGoodsClass`,
    method: 'post',
    data
  })
}

export function getSingleGoodsClass(data)
{
  return request({
    url: `group/goods-class/getSingleGoodsClass`,
    method: 'post',
    data
  })
}

